import Vue from 'vue'
import App from './App.vue'

// element-ui 配置文件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 引入滑动验证码
import SlideVerify from 'vue-monoplasty-slide-verify';
// 引入路由
import router from '@/router/index.js';
//引入vuex
import store from './store/index'
// 引入axios
import request from '@/api/request/index'
// 注册全局样式
import '@/assets/styles/base.css'
import "tailwindcss/tailwind.css"
import "./assets/iconfont/iconfont.css"

import '@/assets/rem/rem.js'

//全局挂载echatrs，全局调用:this.echarts
import * as echarts from 'echarts';
Vue.prototype.echarts = echarts;

// 水印
import watermark from './utils/watermark.js'
Vue.prototype.watermark = watermark

Vue.use(ElementUI);
Vue.use(SlideVerify);

// 将request挂载到Vue原型上
Vue.prototype.request = request
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
